import { createRoot } from 'react-dom/client'

// 导入provider
import { RouterProvider } from 'react-router-dom'
// 导入路由
import router from './router/index.tsx'

// test api
// import { getChannelListAPI } from './apis/list.ts'
// getChannelListAPI().then((res) => {
//   console.log(res)
// })

createRoot(document.getElementById('root')!).render(
  <RouterProvider router={router} />
)
